package com.aisile.student.mapper;

import com.aisile.model.student.dtos.StudentListDto;
import com.aisile.model.student.pojos.Student;
import com.aisile.model.student.vos.StudentListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther:yry
 * @Date:2024/6/19 0019
 * @VERSON:1.0
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    /**
     * 有一堆条件  还有对应的分页
     *
     * @return
     */
    public List<StudentListVo> findAllByPage(@Param("dto") StudentListDto dto);
    public Integer findCountByPage(@Param("dto") StudentListDto dto);


    //  insert into biao（x,x,x,x） values

}
